vendor/golang.org/x/net/http2/hpack.headerFieldTable.len (method)

15 uses

	vendor/golang.org/x/net/http2/hpack (current package)
		encode.go#L99: 		return j + uint64(staticTable.len()), nameValueMatch
		hpack.go#L182: 	for dt.size > dt.maxSize && n < dt.table.len() {
		hpack.go#L193: 	return d.dynTab.table.len() + staticTable.len()
		hpack.go#L201: 	if i <= uint64(staticTable.len()) {
		hpack.go#L211: 	return dt.ents[dt.len()-(int(i)-staticTable.len())], true
		tables.go#L51: func (t *headerFieldTable) len() int {
		tables.go#L57: 	id := uint64(t.len()) + t.evictCount + 1
		tables.go#L65: 	if n > t.len() {
		tables.go#L66: 		panic(fmt.Sprintf("evictOldest(%v) on table with %v entries", n, t.len()))
		tables.go#L79: 	for k := t.len() - n; k < t.len(); k++ {
		tables.go#L82: 	t.ents = t.ents[:t.len()-n]
		tables.go#L122: 		return uint64(t.len()) - k // dynamic table